Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 3 - Image Compression Manager / Image Compression Manager Reference
Image Compression Manager Functions


Working With Sequences

This section describes the functions that enable your application to compress and decompress sequences of images. Each image in the sequence is referred to as a frame. Note that the sequence carries no time information. The Movie Toolbox manages all temporal aspects of displaying the sequence. Consequently, your application can focus on the order of images in the sequence.

To process a sequence of frames, your program first begins the sequence (by issuing either the CompressSequenceBegin or DecompressSequenceBegin functions). You then process each frame in the sequence (use CompressSequenceFrame to compress a frame; use DecompressSequenceFrame to decompress a frame). When you are done, close the sequence by issuing the CDSequenceEnd function. You can check on the status of the current operation by calling the CDSequenceBusy function.

Note that the Image Compression Manager provides a rich set of functions that allow your application to control many of the parameters that govern sequence processing. You set default values for most of these parameters when you start the sequence. These additional functions allow you to modify those parameters while you are processing a sequence. See "Changing Sequence-Compression Parameters," which begins on page 3-113, for information on functions that affect sequence compression. See "Changing Sequence-Decompression Parameters" beginning on page 3-123 for information on functions that affect sequence decompression.


Subtopics
CompressSequenceBegin
CompressSequenceFrame
DecompressSequenceBegin
DecompressSequenceFrame
CDSequenceBusy
CDSequenceEnd

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996